﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
using System.Windows.Controls;

namespace Hugo
{
    class ScreenSaverUIPage : UIPage
    {

        public ScreenSaverUIPage()
            : base("KEITH", null)
        {
            Label instructionsLabel = new Label();
            instructionsLabel.Content = "KEITH";
            instructionsLabel.HorizontalAlignment = System.Windows.HorizontalAlignment.Center;
            instructionsLabel.Foreground = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.White);
            instructionsLabel.FontSize = 150;
            
            Label nameLabel = new Label();
            nameLabel.Content = "KINECTING ELDERLY IN THE HOSPITAL";
            nameLabel.HorizontalAlignment = System.Windows.HorizontalAlignment.Center;
            nameLabel.Foreground = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.White);
            nameLabel.FontSize = 40;

           
            Grid g = new Grid();
            g.Margin = new System.Windows.Thickness(0, GlobalSettings.ScreenMiddleY - 150, 0, 0);
            g.Width = GlobalSettings.ScreenMiddleX * 2;
            PageCanvas.Children.Add(g);

            //g.Children.Add(nameLabel);
            g.Children.Add(instructionsLabel);

            this.areQuickButtonsVisible = false;
            this.areShiftButtonsVisible = false;
        }


        public override void setPage()
        {
            MainWindow.getInstance().hideShade();
            base.setPage();
        }

        public override void unSetPage()
        {
            MainWindow.getInstance().showShade();
            base.unSetPage();
        }
    }
}
